export default {
    data() {
        return {
        }
    },
    // beforeRouteEnter(to, from, next) {

    //     console.log('即将进入', to.path);
    //     console.log('即将离开当前', from.path);
    //     if (to.path == '/home/waitPaper') {
    //         from.meta.keepAlive = false
    //         to.meta.keepAlive = false
    //     } else {
    //         from.meta.keepAlive = false
    //         to.meta.keepAlive = true
    //     }

    //     next()
    // },
    // beforeRouteLeave(to, from, next) {
    //     console.log('即将离开', from.path);
    //     console.log('即将离开前往', to.path);
    //     from.meta.keepAlive = false
    //     to.meta.keepAlive = true
    //     next()
    // }
}